using System;

namespace XospitalParser
{
    public class UserAction
    {
        public DateTime DateTime { get; set; }
        public string ControllerName { get; set; }
        public string Action { get; set; }
        public string QueryString { get; set; }
        public string Ip { get; set; }
        public int Duration { get; set; }
        public string User { get; set; }

        public UserAction(DateTime dateTime, string controllerName, string action, string queryString, string ip, int duration,
                          string user)
        {
            DateTime = dateTime;
            ControllerName = controllerName;
            Action = action;
            QueryString = queryString;
            Ip = ip;
            Duration = duration;
            User = user;
        }
    }
}